import React, { Component } from 'react';
import { View, Text, Platform } from 'react-native';
import { Actions } from 'react-native-router-flux';
import FontAwesome from 'react-native-vector-icons/FontAwesome';
import _ from 'lodash';
import styles from './style';
import Popover from '../../../../components/popover';

export default class RightBrn extends Component {
  iconPress = () => {
    if (_.isFunction(this.props.onPress)) this.props.onPress();
  };
  render() {
    return (
      <FontAwesome
        name="ellipsis-h"
        size={24}
        color="#999"
        style={{ margin: 7 }}
        onPress={this.iconPress}
      />
    );
  }
}
